package com.sky.wsp.jasypt.demo.controller;

import com.sky.wsp.jasypt.demo.config.SamProperties;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author wangshaopeng@talkweb.com.cn
 * @desccription 在此输入描述
 * @date 2023/11/3
 */
@RestController
public class TestController {

    @Resource
    private  SamProperties samProperties;

    @GetMapping("/prop")
    public SamProperties prop(){
        System.out.println(samProperties);
        return samProperties;
    }
}
